package sk.lukaskrupa.guess.the.color.ui;

import sk.lukaskrupa.guess.the.color.listeners.HelpButtonListener;
import sk.lukaskrupa.guess.the.color.logging.Logging;
import android.app.Activity;
import android.widget.Button;

/**
 * Settins activity, where game could be setup.
 * 
 * @author Lukas Krupa (lukas0krupa@gmail.com)
 * 
 */
public class Help extends Activity {

	private static final Logging logger = Logging.getLog(Help.class);

	private HelpButtonListener helpListener;

	/**
	 * {@inheritDoc}
	 */
	@Override
	protected void onStart() {
		super.onStart();

		logger.info("onStart", "Starting Help activity.");
		setContentView(R.layout.help);

		this.helpListener = new HelpButtonListener(this);

		((Button) findViewById(R.id.nextHelp)).setOnClickListener(this.helpListener);
		((Button) findViewById(R.id.backHelp)).setOnClickListener(this.helpListener);
		((Button) findViewById(R.id.exitHelp)).setOnClickListener(this.helpListener);
	}

}
